﻿Array.prototype.First = function First(predicate)
{
	for (var i = 0; i < this.length; ++i)
	{
		if (predicate(this[i]))
			return this[i];
	}
	return null;
}
